package com.chen.blue.domain.model.system;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author CLT
 * @since 2023-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("system_log")
public class LogModel implements Serializable {

    private static final long serialVersionUID = 1L;

    public static final LambdaQueryWrapper<LogModel> wrapper = new LambdaQueryWrapper<>();

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 操作模块
     */
    private String logSystem;

    /**
     * 操作类型
     */
    private String logOptionType;

    /**
     * 操作人员
     */
    private String logOptionPerson;

    /**
     * 操作地址
     */
    private String logOptionAddressIp;

    /**
     * 操作地点
     */
    private String logOptionAddressWhere;

    /**
     * 操作状态(1表示成功0表示失败)
     */
    private Integer logOptionStatus;

    /**
     * 操作时间
     */
    private Date logOptionDate;

    /**
     * 耗费时间
     */
    private Long logOptionTime;

    /**
     * 操作名称
     */
    private String logOptionName;

    private String creator;

    private Date createTime;


    @TableLogic
    private Integer isDeleted;


}
